b20d1ff4595576e1880abd013dc8e454b5712a2a,app/src/main/java/org/secuso/privacyfriendlystepcounter/fragments/WeeklyReportFragment.java,WeeklyReportFragment,onCreateView,#LayoutInflater#ViewGroup#Bundle#,107
Before Change
mRecyclerView.setHasFixedSize(true);
// Bind to stepDetector if today is shown
if (isTodayShown()) {
Intent serviceIntent = new Intent(getContext(), Factory.getStepDetectorServiceClass(getContext().getPackageManager()));
getContext().bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
}
return view;
After Change
mRecyclerView.setHasFixedSize(true);
// Bind to stepDetector if today is shown
if (isTodayShown() && StepDetectionServiceHelper.isStepDetectionEnabled(getContext())) {
bindService();
}
return view;